/*
 * Gavin Greene
 * 5/26/2011
 * 
 * Implements ConstraintInfo for a Class Violation
 */
package Constraint;

import user.User;
import user.UserType;
import data.ClassPreference;

/**
 *  @author Gavin Greene
 *  @version 2/25/2011
 *  
 *  A Class that Implements the ConstraintInfo is a superclass for A non-Time Violation. 
 *  @see Violations
 *  @see ConstraintInfo
 *  
 */
public class ClassConstraintViolation extends ConstraintInfo {
	/**
	 * This is used when there is a Class, or Non-time violation.
	 * @see Violationw
	 * 
	 * @param theUser the User Involved in the Constraint.
	 * @param theClassSlot The Class involved in the Constraint.
	 * @param theUserType the type of the user that
	 *  was passed in in the context of their current constraint. 
	 * @param theViolation type of violation that occurred.
	 */
	public ClassConstraintViolation(User theUser, ClassPreference theClassSlot, UserType theUserType, Violations theViolation){
		super(theUser, theClassSlot, null, theUserType, theViolation );
	}
	
}
